import java.util.Scanner;
public class hecha {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int shuzi = scan.nextInt();
        System.out.println("请输入第二个数字");
        int shuzi2 = scan.nextInt();

        System.out.println("和："+ (shuzi + shuzi2));
        System.out.println("差："+ (shuzi - shuzi2));
    }
}
